package cn.edu.qzuie.artist.module.td.enums;

import cn.edu.qzuie.artist.framework.common.exception.ErrorCode;

public interface ErrorCodeConstants {
    // ========== 用户相关  1-007-001-000 ============
    ErrorCode REGION_NOT_EXISTS = new ErrorCode(1_007_001_001, "地域不存在");
    ErrorCode REGION_EXITS_CHILDREN = new ErrorCode(1_007_001_002, "存在存在子地域，无法删除");
    ErrorCode REGION_PARENT_NOT_EXITS = new ErrorCode(1_007_001_003,"父级地域不存在");
    ErrorCode REGION_PARENT_ERROR = new ErrorCode(1_007_001_004, "不能设置自己为父地域");
    ErrorCode REGION_NAME_DUPLICATE = new ErrorCode(1_007_001_005, "已经存在该地区名称的地域");
    ErrorCode REGION_PARENT_IS_CHILD = new ErrorCode(1_007_001_006, "不能设置自己的子Region为父Region");

    // ========== 用户相关  1-007-002-000 ============
    ErrorCode SCHOOL_NOT_EXISTS = new ErrorCode(1_007_002_001, "学校不存在");

    // ========== 用户相关  1-007-003-000 ============
    ErrorCode DEPARTMENT_NOT_EXISTS = new ErrorCode(1_007_003_001, "部门不存在");
    ErrorCode DEPARTMENT_ALREADY_EXISTS = new ErrorCode(1_007_003_002, "部门信息已存在");
    ErrorCode DEPARTMENT_EXISTS_MAJOR = new ErrorCode(1_007_003_003, "该部门下存在专业，无法删除");

    // ========== 专业相关  1-007-004-000 ============
    ErrorCode MAJOR_NOT_EXISTS = new ErrorCode(1_007_004_001, "专业不存在");
    ErrorCode MAJOR_ALREADY_EXISTS = new ErrorCode(1_007_004_002, "专业信息已存在");
    ErrorCode MAJOR_EXISTS_Class = new ErrorCode(1_007_004_003, "该专业下存在班级，无法删除");

    // ========== 班级相关  1-007-005-000 ============
    ErrorCode CLASSINFO_NOT_EXISTS = new ErrorCode(1_007_005_001, "班级不存在");
    ErrorCode CLASSINFO_ALREADY_EXISTS = new ErrorCode(1_007_005_002, "班级信息已存在");
    ErrorCode Class_EXISTS_Student = new ErrorCode(1_007_004_003, "该班级下存在学生，无法删除");

    // ========== 学生相关  1-007-006-000 ============
    ErrorCode STUDENT_NOT_EXISTS = new ErrorCode(1_007_006_001, "学生不存在");

    // ========== 用户相关  1-007-007-000 ============
    ErrorCode TEACHER_NOT_EXISTS = new ErrorCode(1_007_007_001, "教师不存在");
    // ========== 用户相关  1-007-008-000 ============
    ErrorCode ACTIVITY_NOT_EXISTS = new ErrorCode(1_007_008_001, "活动不存在");
    // ========== 用户相关  1-007-009-000 ============
    ErrorCode PARTICIPATE_ACTIVITIY_NOT_EXISTS = new ErrorCode(1_007_009_001, "参加活动不存在");
    // ========== 用户相关  1-007-010-000 ============
    ErrorCode WORKS_CATAGORY_NOT_EXISTS = new ErrorCode(1_007_010_001, "作品分类不存在");
    ErrorCode WORKS_CATAGORY_EXITS_CHILDREN = new ErrorCode(1_007_010_002, "存在存在子作品分类，无法删除");
    ErrorCode WORKS_CATAGORY_PARENT_NOT_EXITS = new ErrorCode(1_007_010_003,"父级作品分类不存在");
    ErrorCode WORKS_CATAGORY_PARENT_ERROR = new ErrorCode(1_007_010_004, "不能设置自己为父作品分类");
    ErrorCode WORKS_CATAGORY_CATAGORY_NAME_DUPLICATE = new ErrorCode(1_007_010_005, "已经存在该分类名称的作品分类");
    ErrorCode WORKS_CATAGORY_PARENT_IS_CHILD = new ErrorCode(1_007_010_006, "不能设置自己的子WorksCatagory为父WorksCatagory");
    // ========== 用户相关  1-007-011-000 ============
    ErrorCode WORK_NOT_EXISTS = new ErrorCode(1_007_011_001, "作品不存在");
// ==========  发布活动 1_007_011_002==========
    ErrorCode PUBLISH_ACTIVITY_NOT_EXISTS = new ErrorCode(1_007_011_002, " 发布活动不存在");

// ========== 投稿 1_007_011_003 ==========
    ErrorCode SUBMIT_ACTIVITY_NOT_EXISTS = new ErrorCode(1_007_011_003, "投稿不存在");

// ========== 作品集 1_007_011_004 ==========
    ErrorCode WORKS_IMAGE_NOT_EXISTS = new ErrorCode(1_007_011_004, "作品集不存在");

}
